<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('邮箱')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" data-rule="required" class="form-control" name="row[email]" type="text" value="" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('大陆')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[continent]" id="c-continent" data-rule="required" class="form-control selectpicker">
                <option value="North America" selected >北美</option>
                <option value="Europe" >欧洲</option>
                <option value="Asia" >亚洲</option>
                <option value="Australia" >澳大利亚</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Region')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-region" data-order-by="id desc" data-field="city_cn" data-rule="required" data-source="myvultrregions/index" class="form-control selectpage" name="row[region]" type="text" value="" >
        </div>
    </div>
    <input type="hidden" value="" id="c-region_id"/>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('服务器类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[ostype]" id="c-ostype" data-rule="required" class="form-control selectpicker">
                <option value="windows" selected >Windows</option>
                <option value="ubuntu" >Ubuntu</option>
                <option value="centos" >CentOS</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Os_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-os_id" data-order-by="id desc" data-field="name" data-rule="required" data-source="myvultros/index" class="form-control selectpage" name="row[os_id]" type="text" value="" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan" data-order-by="id desc" data-field="monthly_cost" data-rule="required" data-source="myvultrregionsplans/index" class="form-control selectpage" name="row[plan]" type="text" value="" >
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
